package com.ttg.web.dao.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ttg.model.mapper.VipNextGradeTempMapper;
import com.ttg.model.pojo.VipNextGradeTemp;
import com.ttg.web.dao.VipNextGradeTempDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class VipNextGradeTempDaoImpl extends ServiceImpl<VipNextGradeTempMapper, VipNextGradeTemp> implements VipNextGradeTempDao {


    @Override
    public void truncateOldRecords(){
        baseMapper.truncateOldRecords();
    }

    @Override
    public void vipRating(Integer date){
        baseMapper.vipRating(date);
    }

}
